<?php
namespace App\Modules\Register;

use App\Modules\AdapterApi;
use App\Services\Register\RegisterIndex;

class Register extends AdapterApi
{
    // 注册
    public function Register(){
        $data = $this->postData;
        return RegisterIndex::Register()->Register($data);
    }

    // 编辑
    public function edit(){
        $data = $this->postData;
        return RegisterIndex::Register()->edit($data);
    }
}